package com.yunxi.service.dubboService.impl.sys;

import com.yunxi.service.localService.sys.ToolService;
import com.yunxi.sys.service.ToolDubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 字典表 服务实现类
 * </p>
 *
 * @author 
 * @since 2019-05-08
 */
public class ToolDubboServiceImpl implements ToolDubboService {
   @Autowired
   @Qualifier("toolServiceImpl")
   ToolService toolService;

   @Override
   public int exist6(Map<String, Object> map) {
      int num = toolService.exist6(map);
      return num;
   }

   @Override
   public int exist(String table_name, String col_key, String col_value, String where,String idName,String idValue) {
      return toolService.exist(table_name,col_key,col_value,where,idName,idValue);
   }

   public int exist2(String table_name, String col_key, String col_value,String col_key2,String col_value2,String where) {
      return toolService.exist2(table_name,col_key,col_value,col_key2,col_value2,where);
   }

   @Override
   public List<HashMap> dict_list(String table_name, String dict_key, String dict_value,String where) {
      return toolService.dict_list(table_name,dict_key,dict_value,where);
   }
}
